<?php

/** app path * */
$root = dirname(__FILE__) . DIRECTORY_SEPARATOR . '..';
define('ROOT', $root);

define('APP_TIMEZONE', 'Asia/Ho_Chi_Minh');
define('RESOURCE_URL', 'http://localhost/yii/classified/www/resources/');
define('AVATAR_URL', 'http://localhost/yii/classified/www/uploads/avatar/');
define('SITE_NAME', 'Classified');
define('SLOGAN', 'We build apps for better life experience');
define('SITE_NAME_URL', 'http://localhost/yii/classified/');
define('SUPPORT_EMAIL', 'info@myproject.com');
define('FRONT_SITE_URL', 'http://localhost/yii/classified/');
define('BACKEND_SITE_URL', 'http://localhost/yii/classified/backend/');
define('WWW_URL', 'http://localhost/yii/classified/www/');

/* * ****file****** */
$wwwPath = ROOT . DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR;
define('UPLOAD_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR);
define('AVATAR_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR . 'avatar' . DIRECTORY_SEPARATOR);
define('UPLOAD_URL', WWW_URL . 'uploads/');
define('THUMB_PATH', $wwwPath . 'thumbs' . DIRECTORY_SEPARATOR);
define('THUMB_URL', WWW_URL . 'thumbs/');
//caching
define('FRONTEND_CLEAR_CACHE_KEY', 'af234uajad234piasdjal32');